/**
 * Created by ZHOUSH on 1/15/2016.
 */
datasource.controller('datasourceController', ['$scope','$http',
    function ($scope, $http) {
        $scope.layout = {
            frame: false,
            size: [12, 9],
            panels: [
                {
                    heading: 'From',
                    frame: true,
                    size: [4, 5],
                    form: {
                        fields: [
                            'From:select'
                        ]
                    },
                    items: [
                        '<db-form db-bind="panel.form"></db-form>'
                    ]
                },
                {
                    heading: 'Choose',
                    frame: true,
                    size: [4, 5]
                },
                {
                    heading: 'Filter',
                    frame: true,
                    size: [4, 5]
                }
            ]
        }
    }
]);